package com.bw.mvvm.utils;

import android.text.TextUtils;
import android.widget.TextView;

import com.blankj.utilcode.util.EncryptUtils;

import java.util.Arrays;

public class SignUtils {

    public static String createSign(String values){
        if (TextUtils.isEmpty(values)){
            return "";
        }
        String sign;
        char[] chars = values.toCharArray();
        Arrays.sort(chars);
        sign = new String(chars);
        sign+="tamboo";
        return EncryptUtils.encryptMD5ToString(sign).toLowerCase();
    }
}
